#by JiuJiu

#剑气预设角度与生成
execute store result score #rotation operation run data get entity @s Rotation[0]
execute if score #rotation operation matches ..-1 run scoreboard players operation #rotation operation += #360 operation
execute if score #rotation operation matches 0..9 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[5.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 10..19 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[15.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 20..29 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[25.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 30..39 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[35.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 40..49 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[45.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 50..59 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[55.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 60..69 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[65.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 70..79 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[75.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 80..89 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[85.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 90..99 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[195.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 100..109 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[105.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 110..119 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[115.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 120..129 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[125.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 130..139 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[135.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 140..149 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[145.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 150..159 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[155.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 160..169 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[165.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 170..179 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[175.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 180..189 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-175.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 190..199 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-165.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 200..209 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-155.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 210..219 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-145.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 220..229 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-135.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 230..239 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-125.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 240..249 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-115.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 250..259 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-105.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 260..269 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-95.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 270..279 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-85.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 280..289 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-75.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 290..299 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-65.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 300..309 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-55.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 310..319 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-45.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 320..329 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-35.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 330..339 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-25.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 340..349 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-15.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}
execute if score #rotation operation matches 350..359 run summon minecraft:armor_stand ~ ~ ~ {Rotation:[-5.0f],Tags:["summon","swordkee"],NoGravity:1b,Marker:1b,Invisible:1b,ArmorItems: [{}, {}, {}, {id: "minecraft:black_dye", Count: 1b, tag:{CustomModelData:1}}]}